---------------------------------------------------------------------------------------------------------------------------------------------------------
      name:  <unnamed>
       log:  C:\us2010\psrmversion\calvotenoint.log
  log type:  text
 opened on:  14 May 2015, 13:48:07

. do "C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\STD00000000.tmp"

. set more off

. probit voteref calsenz calgovz greens libconf eccog vrisk surisk vurisk incz educ gender ///
>  black hispanic orace repid demid opid jobless agez ///
>  demcon repcon obamalk [iweight=weightd]

Iteration 0:   log likelihood =  -598.1383  
Iteration 1:   log likelihood = -283.82434  
Iteration 2:   log likelihood = -274.34941  
Iteration 3:   log likelihood = -274.21582  
Iteration 4:   log likelihood =  -274.2157  
Iteration 5:   log likelihood =  -274.2157  

Probit regression                                 Number of obs   =        862
                                                  LR chi2(22)     =     647.85
                                                  Prob > chi2     =     0.0000
Log likelihood =  -274.2157                       Pseudo R2       =     0.5416

------------------------------------------------------------------------------
     voteref |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval] Vote Yes = 1/Vote No = 2 on ballot initiative
-------------+----------------------------------------------------------------
     calsenz |   .0385174   .0198164     1.94   0.052    -.0003221    .0773568 relative Senate candidate affect
     calgovz |   -.020184    .018413    -1.10   0.273    -.0562728    .0159049 relative Governor candidate affect
      greens |  -.9385893    .117847    -7.96   0.000    -1.169565   -.7076134 environmental attitudes
     libconf |  -.2879683   .1107501    -2.60   0.009    -.5050344   -.0709021 liberal-conservative ideology
       eccog |  -.1553624   .0853179    -1.82   0.069    -.3225824    .0118576 economic evaluations
       vrisk |   .0147249   .1746896     0.08   0.933    -.3276604    .3571103 very risk acceptant
      surisk |  -.1385376   .1720834    -0.81   0.421    -.4758148    .1987396 somewhat risk averse
      vurisk |  -.5053331   .2314958    -2.18   0.029    -.9590566   -.0516096 very risk averse
        incz |   .0015503   .0205281     0.08   0.940    -.0386839    .0417846 income
        educ |   .0163481   .0455471     0.36   0.720    -.0729227    .1056189 educational level
      gender |  -.1757374   .1305514    -1.35   0.178    -.4316135    .0801387 gender
       black |   .2068304    .245218     0.84   0.399    -.2737881    .6874488 African-American
    hispanic |   .2823593   .1813655     1.56   0.120    -.0731106    .6378292 Hispanic
       orace |    .436909   .1941671     2.25   0.024     .0563485    .8174694 other race/ethnicity
       repid |  -.0096284   .1704037    -0.06   0.955    -.3436135    .3243567 Republican party identification
       demid |  -.1177666    .196103    -0.60   0.548    -.5021214    .2665882 Democratic party identification
        opid |   .2773415   .3562505     0.78   0.436    -.4208966    .9755796 Other party identificaiton
     jobless |   .2280476   .2114635     1.08   0.281    -.1864132    .6425084 Unemployed
        agez |  -.0064257   .0042076    -1.53   0.127    -.0146725    .0018211 Age
      demcon |  -.2976536     .15856    -1.88   0.060    -.6084255    .0131184 Democratic Party Contact
      repcon |   .3043016   .1575855     1.93   0.053    -.0045603    .6131635 Republican Party Contact
     obamalk |   .0188079   .0285464     0.66   0.510    -.0371421    .0747579 Obama Image
       _cons |  -.1270749   .3414503    -0.37   0.710    -.7963051    .5421553 Constant
------------------------------------------------------------------------------

.  
. fitstat

                         |      probit 
-------------------------+-------------
Log-likelihood           |             
                   Model |    -274.216 
          Intercept-only |    -598.138 
-------------------------+-------------
Chi-square               |             
       Deviance (df=839) |     548.431 
              LR (df=22) |     647.845 
                 p-value |       0.000 
-------------------------+-------------
R2                       |             
                McFadden |       0.542 
     McFadden (adjusted) |       0.503 
      McKelvey & Zavoina |       0.717 
-------------------------+-------------
IC                       |             
                     AIC |     594.431 
             BIC (df=23) |     703.894 
-------------------------+-------------
Variance of              |             
                       e |       1.000 
                  y-star |       3.531 

. predict p1
(option pr assumed; Pr(voteref))

. recode p1 0/.5=0 .5000001/1=1
(p1: 1102 changes made)

. tab voteref p1 [iweight=weightd], col

+-------------------+
| Key               |
|-------------------|
|     frequency     |
| column percentage |
+-------------------+

            |      Pr(voteref)
    voteref |         0          1 |     Total
------------+----------------------+----------
    against | 426.52478  65.947521 |492.472302 
            |     91.14      16.27 |     56.39 
------------+----------------------+----------
   in favor | 41.470292  339.31991 |  380.7902 
            |      8.86      83.73 |     43.61 
------------+----------------------+----------
      Total | 467.99507  405.26743 |  873.2625 
            |    100.00     100.00 |    100.00 


. 
. 
end of do-file

. exit, clear
